# !/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
@作者 杨阳
@时间 2018-07-24
@说明 生成代码的一些常量
@注意事项
"""

##################数据库连接信息##################
db_host = '192.168.200.102'
db_port = 3306
db_user = 'admin'
db_pwd = 'admin'
db_database = 'learning'

##################生成各类文件的路径##################
# 生成多个routes的文件路径
routes_file_path = "/home/yangyang/桌面/workspace/pro_code/routes/"
# model文件全路径
model_file_path = "/home/yangyang/桌面/workspace/pro_code/model/"
# 生成Vue页面的路径,正常路径后面还应该加上表名的简写
# 1. /home/yangyang/桌面/workspace/pro_code/vue/表名简写/表名简写_list.vue
# 2. /home/yangyang/桌面/workspace/pro_code/vue/表名简写/表名简写_edit.vue
vue_file_path = "/home/yangyang/桌面/workspace/pro_code/vue/"

不生成在查询中的列 = ["id", "group_ids", "group_id", "creator", "password"]
不生成在增加中的列 = ["id", "creator", "password", "group_ids", "create_time"]
不生成在修改中的列 = ["creator", "password", "group_id", "group_ids", "parentid", "create_time"]
所有时间类型 = ["date", "datetime", "time", "date"]
